package com.shsxt.vo;
import java.text.SimpleDateFormat;

import java.util.Date;

/**
 * @author lxc2
 *
 */
public class Evaluation {
	private String realPhoneNumber;
	private String score;
	private String evaluation;
	private String evaluationTime;
	@Override
	public String toString() {
		return "Evaluation [realPhoneNumber=" + realPhoneNumber + ", score=" + score + ", evaluation=" + evaluation
				+ ", evaluationTime=" + evaluationTime + "]";
	}
	public Evaluation() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Evaluation(String realPhoneNumber, String score, String evaluation, String evaluationTime) {
		super();
		this.realPhoneNumber = realPhoneNumber;
		this.score = score;
		this.evaluation = evaluation;
		this.evaluationTime = evaluationTime;
	}
	public String getRealPhoneNumber() {
		return realPhoneNumber;
	}
	public void setRealPhoneNumber(String realPhoneNumber) {
		
		this.realPhoneNumber = realPhoneNumber.substring(0, 7)+"****";
	}
	public String getScore() {
		return score;
	}
	public void setScore(String score) {
		this.score = score;
	}
	public String getEvaluation() {
		return evaluation;
	}
	public void setEvaluation(String evaluation) {
		this.evaluation = evaluation;
	}
	public String getEvaluationTime() {
		return evaluationTime;
	}
	public void setEvaluationTime(Date evaluationTime) {
		SimpleDateFormat sp=new SimpleDateFormat("yyyy-MM-dd HH:mm");
		this.evaluationTime = sp.format(evaluationTime);
	}
	
	
}
